﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
using NCMIS.CMISProperties;

namespace NCMIS.Produce
{
    public class Rendition
    {
        public ID StreamId { get; set; }
        public string MimeType { get; set; }
        public int Length { get; set; }
        public string Title { get; set; }
        public string Kind { get; set; }
        public int height { get; set; }
        public int width { get; set; }
        public ID RenditionDocumentId { get; set; }
    }

    [CollectionDataContract(ItemName = "Rendition", Name = "getRenditionResponse", Namespace = "http://mynamespace.com")]
    public class Renditions : List<Rendition>
    {
        public Renditions() { }
        public Renditions(List<Rendition> renditions) : base(renditions) { }
    }
}
